﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CV.aspx.cs" MasterPageFile="~/MasterPage.master" Inherits="CV"%>
<%@ Register Assembly="Facebook.Web" Namespace="Facebook.Web.FbmlControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="SectionPlaceHolder" Runat="Server">

    <!-- Buttons to navigate between profile sections -->
    <asp:button runat="server" onclick="profileClick" text="Profile" CssClass="content_btn" BackColor="#627AAD"
                BorderStyle="None" BorderWidth="0px" Font-Underline="True" ForeColor="White" />
    <asp:button runat="server" onclick="multimediaClick" text="Multimedia" CssClass="content_btn" BackColor="#627AAD"
                BorderStyle="None" BorderWidth="0px" Font-Underline="True" ForeColor="White" />
    <asp:button runat="server" onclick="curriculumVitaeClick" text="Curriculum Vitae" CssClass="content_btn" BackColor="White" Height="30"
                BorderStyle="None" BorderWidth="0px" Font-Underline="True" ForeColor="Black" />

</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ProfilePlaceHolder" Runat="Server" >
    
    <!-- You are now viewing XXX's profile box -->
    <div style="background-color: #EDEFF4;border-style: double;border-width: 1px;color: Black">
         &nbsp;
         <asp:image runat="server" id="profileImage" width="16" height="16" />
         &nbsp;
         <asp:label runat="server" id="profileLabel" text="You are now viewing XXX's profile." />
         &nbsp;
    </div>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server" >

        <!-- Panel to show if there is a CV available to view -->        
        <asp:panel runat="server" id="cvPanel" >
            <b><h2><asp:label runat="server" id="cvHeaderLabel" text="XXX's CV" /></h2></b>
            <p>
                <asp:label runat="server" id="cvDescriptionLabel" text="Check out XXX's CV." />
            </p>
            
            <!-- Display the PDF using a FB Iframe -->
            <cc1:IFrame ID="cvViewer" Src="about:blank"  FrameBorder="false" runat="server" Width="500" Height="800"  IncludeFbSig="false" Scrolling="Auto" />
        </asp:panel>        
        
        <!-- Panel to show if there is not a CV available to view -->
        <asp:panel runat="server" id="noCVPanel" >
            <b><h2>No Curriculum Vitae</h2></b>
            <p>
                <asp:label runat="server" id="noCVDescriptionLabel" text="Sorry, XXX  has not added a Curriculum Vitae to their profile yet." />
            </p>
    
    
        </asp:panel>        
    
        
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SideBarPlaceHolder" Runat="Server" />

